hysop.core.graph.graph module

class hysop.core.graph.graph.ComputationalGraphNodeData(current_level, node_id)[source]

Bases: object

Simple class to hold some node data.

class hysop.core.graph.graph.EdgeAttributes(*args, **kwds)[source]

Bases: object

Simple class to hold edge data.

update(variable=None, topology=None)[source]
class hysop.core.graph.graph.VertexAttributes(graph, operator=None)[source]

Bases: object

Simple class to hold vertex data.

property color
colors = ('#9ecae1', '#fdae6b', '#a1d99b', '#bcbddc', '#bdbdbd', '#6b6ecf', '#b5cf6b', '#e7ba52', '#d6616b', '#ce6dbd', '#c6dbef', '#fdd0a2', '#c7e9c0', '#dadaeb', '#d9d9d9', '#9c9ede', '#cedb9c', '#e7cb94', '#e7969c', '#de9ed6', '#3182bd', '#e6550d', '#31a354', '#756bb1', '#636363', '#393b79', '#637939', '#8c6d31', '#843c39', '#7b4173', '#6baed6', '#fd8d3c', '#74c476', '#9e9ac8', '#969696', '#5254a3', '#8ca252', '#bd9e39', '#ad494a', '#a55194')
copy_attributes(other)[source]
property label
node_info()[source]
set_op_info(operator, input_states, output_states)[source]
shape(with_custom_nodes=True)[source]
property title
hysop.core.graph.graph.all_simple_paths(graph, src, dst)[source]
hysop.core.graph.graph.discretized(f)[source]
hysop.core.graph.graph.generate_vertex_colors()[source]
hysop.core.graph.graph.generated(f)[source]
hysop.core.graph.graph.graph_built(f)[source]
hysop.core.graph.graph.initialized(f)[source]
hysop.core.graph.graph.is_directed_acyclic_graph(graph)[source]
hysop.core.graph.graph.lexicographical_topological_sort(graph)[source]
hysop.core.graph.graph.new_directed_graph()[source]
hysop.core.graph.graph.new_edge(graph, u, v, *args, **kwds)[source]
hysop.core.graph.graph.new_vertex(graph, *args, **kwds)[source]
hysop.core.graph.graph.not_initialized(f)[source]
hysop.core.graph.graph.op_apply(f)[source]
hysop.core.graph.graph.ready(f)[source]
hysop.core.graph.graph.transitive_reduction(graph)[source]